package com.yand.api.service.system;


import com.github.pagehelper.PageInfo;
import com.yand.api.entity.common.Result;
import com.yand.api.entity.system.TSysUser;

/**
 * 用户业务接口
 */
public interface UserService {

    PageInfo<TSysUser> queryUserList(TSysUser user);

    TSysUser getUserById(int userId);

    void insertUser(TSysUser user);

    void updateUser(TSysUser user);

    void deleteUser(int userId);

    Result updatePwd(String oldPassword, String newPassword);

}
